package com.nft.service.school.feign;

import com.nft.service.school.req.SysUserReq;
import com.nft.service.school.resp.SysUserResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "nft-service-school",contextId="userClient", path = "/userClient")
public interface ISysUserClient {
    @RequestMapping(value = "/insertUserInfo", method = RequestMethod.POST)
    public Boolean insertUserInfo(@RequestBody SysUserReq query);

    @RequestMapping(value = "/updateUserInfo", method = RequestMethod.POST)
    public Boolean updateUserInfo(@RequestBody SysUserReq query);
}
